program io_fmt

    implicit none

    write (*, '(f6.2)') 1.0                         ! 输出1.0，格式为'(f6.2)'
    write (*, '(a,i0)') "Output an Integer: ", 2    ! 输出字符串与整数

end program io_fmt
!>   1.00
!> Output an Integer: 2